﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Best.SmartCms.Domain.Common;

namespace Best.SmartCms.Domain
{
    [Table("WeixinSetting")]
    public class WeixinSetting:BaseDomain
    {
        /// <summary>
        /// 公众号开发者APPID
        /// </summary>
        [StringLength(50)]
        public string AppId { get; set; }
        /// <summary>
        /// 公众号开发者密码
        /// </summary>
        [StringLength(250)]
        public string AppSecret { get; set; }
        /// <summary>
        /// 公众号服务器地址URL
        /// </summary>
        [StringLength(50)]
        public string AppUrl { get; set; }
        /// <summary>
        /// 公众号令牌Token
        /// </summary>
        [StringLength(50)]
        public string AppToken { get; set; }
        /// <summary>
        /// 公众号消息加解密密钥
        /// </summary>
        [StringLength(100)]
        public string AppEncodingAESKey { get; set; }
        /// <summary>
        /// 微信小程序AppId
        /// </summary>
        [StringLength(50)]
        public string MiniProgramAppId { get; set; }
        /// <summary>
        /// 微信小程序Secret
        /// </summary>
        [StringLength(250)]
        public string MiniProgramSecret { get; set; }
        /// <summary>
        /// 微信支付商户号
        /// </summary>
        [StringLength(50)]
        public string MerchantId { get; set; }
    }
}
